<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>EDUKIT Developers: Класс UserManager</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="ukit.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">EDUKIT Developers
   &#160;<span id="projectnumber">1.0</span>
   </div>
   <div id="projectbrief">Руководство программиста</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Создано системой Doxygen 1.8.13 -->
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',false,false,'search.php','Поиск');
});
</script>
<div id="main-nav"></div>
<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespace_i_e_p.html">IEP</a></li><li class="navelem"><a class="el" href="namespace_i_e_p_1_1_managers.html">Managers</a></li><li class="navelem"><a class="el" href="class_i_e_p_1_1_managers_1_1_user_manager.html">UserManager</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Открытые члены</a>  </div>
  <div class="headertitle">
<div class="title">Класс UserManager</div>  </div>
</div><!--header-->
<div class="contents">

<p>Менеджер для работы с пользователями  
 <a href="class_i_e_p_1_1_managers_1_1_user_manager.html#details">Подробнее...</a></p>

<p><code>#include &quot;iep/managers/um.class.php&quot;</code></p>
<div id="dynsection-0" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
  <img id="dynsection-0-trigger" src="closed.png" alt="+"/> Граф наследования:UserManager:</div>
<div id="dynsection-0-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-0-content" class="dyncontent" style="display:none;">
 <div class="center">
  <img src="class_i_e_p_1_1_managers_1_1_user_manager.png" usemap="#UserManager_map" alt=""/>
  <map id="UserManager_map" name="UserManager_map">
<area href="class_i_e_p_1_1_managers_1_1_i_e_p.html" title="Базовый класс для все остальных менеджеров " alt="IEP" shape="rect" coords="0,0,89,24"/>
</map>
 </div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Открытые члены</h2></td></tr>
<tr class="memitem:a8e961da391b6849109aec42bc9b1b6e6"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_i_e_p_1_1_managers_1_1_user_manager.html#a8e961da391b6849109aec42bc9b1b6e6">adminExists</a> (<a class="el" href="class_i_e_p_1_1_structures_1_1_user.html">User</a> $user)</td></tr>
<tr class="memdesc:a8e961da391b6849109aec42bc9b1b6e6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Проверяет, существует ли такой администратор в базей данных  <a href="#a8e961da391b6849109aec42bc9b1b6e6">Подробнее...</a><br /></td></tr>
<tr class="separator:a8e961da391b6849109aec42bc9b1b6e6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac326a61c5a0a288461ea72a692114d30"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_i_e_p_1_1_managers_1_1_user_manager.html#ac326a61c5a0a288461ea72a692114d30">userExists</a> (<a class="el" href="class_i_e_p_1_1_structures_1_1_user.html">User</a> $user)</td></tr>
<tr class="memdesc:ac326a61c5a0a288461ea72a692114d30"><td class="mdescLeft">&#160;</td><td class="mdescRight">Проверяет, существует ли такой пользователь в базей данных  <a href="#ac326a61c5a0a288461ea72a692114d30">Подробнее...</a><br /></td></tr>
<tr class="separator:ac326a61c5a0a288461ea72a692114d30"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a58c304ed2a3ae739b1d31a9eeace43e4"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_i_e_p_1_1_managers_1_1_user_manager.html#a58c304ed2a3ae739b1d31a9eeace43e4">add</a> ($user)</td></tr>
<tr class="memdesc:a58c304ed2a3ae739b1d31a9eeace43e4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Добавляет нового пользователя  <a href="#a58c304ed2a3ae739b1d31a9eeace43e4">Подробнее...</a><br /></td></tr>
<tr class="separator:a58c304ed2a3ae739b1d31a9eeace43e4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8fb7e7fde1ddc7817df738a26fc1e75e"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_i_e_p_1_1_managers_1_1_user_manager.html#a8fb7e7fde1ddc7817df738a26fc1e75e">authentification</a> (string $email, string $passwd)</td></tr>
<tr class="memdesc:a8fb7e7fde1ddc7817df738a26fc1e75e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Производит аутентификацию пользователя  <a href="#a8fb7e7fde1ddc7817df738a26fc1e75e">Подробнее...</a><br /></td></tr>
<tr class="separator:a8fb7e7fde1ddc7817df738a26fc1e75e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abd99551240a9f2a7c2fdba7c451f03b7"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_i_e_p_1_1_managers_1_1_user_manager.html#abd99551240a9f2a7c2fdba7c451f03b7">authentificationAdmin</a> (string $email, string $passwd)</td></tr>
<tr class="memdesc:abd99551240a9f2a7c2fdba7c451f03b7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Производит аутентификацию администратора  <a href="#abd99551240a9f2a7c2fdba7c451f03b7">Подробнее...</a><br /></td></tr>
<tr class="separator:abd99551240a9f2a7c2fdba7c451f03b7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aab9db607fd1b1029e30698b5fd2eba74"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_i_e_p_1_1_managers_1_1_user_manager.html#aab9db607fd1b1029e30698b5fd2eba74">getAllAdmins</a> ()</td></tr>
<tr class="memdesc:aab9db607fd1b1029e30698b5fd2eba74"><td class="mdescLeft">&#160;</td><td class="mdescRight">Возвращает всех администраторов  <a href="#aab9db607fd1b1029e30698b5fd2eba74">Подробнее...</a><br /></td></tr>
<tr class="separator:aab9db607fd1b1029e30698b5fd2eba74"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a48a9c3492291c38e6113e40e04deb2ed"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_i_e_p_1_1_managers_1_1_user_manager.html#a48a9c3492291c38e6113e40e04deb2ed">getAllUsers</a> ()</td></tr>
<tr class="memdesc:a48a9c3492291c38e6113e40e04deb2ed"><td class="mdescLeft">&#160;</td><td class="mdescRight">Возвращает всех пользователей  <a href="#a48a9c3492291c38e6113e40e04deb2ed">Подробнее...</a><br /></td></tr>
<tr class="separator:a48a9c3492291c38e6113e40e04deb2ed"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aebb23af7c9b40659d7bffc83a9558cf6"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_i_e_p_1_1_managers_1_1_user_manager.html#aebb23af7c9b40659d7bffc83a9558cf6">getAllStudents</a> ()</td></tr>
<tr class="memdesc:aebb23af7c9b40659d7bffc83a9558cf6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Возвращает всех студентов  <a href="#aebb23af7c9b40659d7bffc83a9558cf6">Подробнее...</a><br /></td></tr>
<tr class="separator:aebb23af7c9b40659d7bffc83a9558cf6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa2163658d54f05691c40d89f57976034"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_i_e_p_1_1_managers_1_1_user_manager.html#aa2163658d54f05691c40d89f57976034">getAllTeachers</a> ()</td></tr>
<tr class="memdesc:aa2163658d54f05691c40d89f57976034"><td class="mdescLeft">&#160;</td><td class="mdescRight">Возвращает всех преподавателей  <a href="#aa2163658d54f05691c40d89f57976034">Подробнее...</a><br /></td></tr>
<tr class="separator:aa2163658d54f05691c40d89f57976034"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aba7e535e07631c20911bcad2e3ef3444"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_i_e_p_1_1_managers_1_1_user_manager.html#aba7e535e07631c20911bcad2e3ef3444">getAllParents</a> ()</td></tr>
<tr class="memdesc:aba7e535e07631c20911bcad2e3ef3444"><td class="mdescLeft">&#160;</td><td class="mdescRight">Возвращает всех родителей  <a href="#aba7e535e07631c20911bcad2e3ef3444">Подробнее...</a><br /></td></tr>
<tr class="separator:aba7e535e07631c20911bcad2e3ef3444"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a68ca7ef8a3dd6e133f7ce48f889086b2"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_i_e_p_1_1_managers_1_1_user_manager.html#a68ca7ef8a3dd6e133f7ce48f889086b2">getAllElders</a> ()</td></tr>
<tr class="memdesc:a68ca7ef8a3dd6e133f7ce48f889086b2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Возвращает всех старост  <a href="#a68ca7ef8a3dd6e133f7ce48f889086b2">Подробнее...</a><br /></td></tr>
<tr class="separator:a68ca7ef8a3dd6e133f7ce48f889086b2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab381a16bb0a15bf7168b287292ab1449"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_i_e_p_1_1_managers_1_1_user_manager.html#ab381a16bb0a15bf7168b287292ab1449">getAllStudentsElders</a> ()</td></tr>
<tr class="memdesc:ab381a16bb0a15bf7168b287292ab1449"><td class="mdescLeft">&#160;</td><td class="mdescRight">Возвращает всех студентов и старост  <a href="#ab381a16bb0a15bf7168b287292ab1449">Подробнее...</a><br /></td></tr>
<tr class="separator:ab381a16bb0a15bf7168b287292ab1449"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac442cc885a0fb4b8a9b1020db40f208d"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_i_e_p_1_1_managers_1_1_user_manager.html#ac442cc885a0fb4b8a9b1020db40f208d">getSoGroups</a> (int $group_id)</td></tr>
<tr class="separator:ac442cc885a0fb4b8a9b1020db40f208d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab8b4708a11f6729bb99aafab4e62e1b0"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_i_e_p_1_1_managers_1_1_user_manager.html#ab8b4708a11f6729bb99aafab4e62e1b0">grantElder</a> (string $student_email)</td></tr>
<tr class="memdesc:ab8b4708a11f6729bb99aafab4e62e1b0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Назначает старосту  <a href="#ab8b4708a11f6729bb99aafab4e62e1b0">Подробнее...</a><br /></td></tr>
<tr class="separator:ab8b4708a11f6729bb99aafab4e62e1b0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad530998379869c71b083396cdc7a2566"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_i_e_p_1_1_managers_1_1_user_manager.html#ad530998379869c71b083396cdc7a2566">revokeElder</a> (string $student_email)</td></tr>
<tr class="memdesc:ad530998379869c71b083396cdc7a2566"><td class="mdescLeft">&#160;</td><td class="mdescRight">Разжаловает старосту  <a href="#ad530998379869c71b083396cdc7a2566">Подробнее...</a><br /></td></tr>
<tr class="separator:ad530998379869c71b083396cdc7a2566"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3980a2fdf7db8c73796a046b0b0ccf32"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_i_e_p_1_1_managers_1_1_user_manager.html#a3980a2fdf7db8c73796a046b0b0ccf32">setChild</a> (string $parent_email, string $student_email, int $relation)</td></tr>
<tr class="memdesc:a3980a2fdf7db8c73796a046b0b0ccf32"><td class="mdescLeft">&#160;</td><td class="mdescRight">Назначает детей родителю  <a href="#a3980a2fdf7db8c73796a046b0b0ccf32">Подробнее...</a><br /></td></tr>
<tr class="separator:a3980a2fdf7db8c73796a046b0b0ccf32"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a10fdde10c0c59e805c8a19758a8b2d0a"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_i_e_p_1_1_managers_1_1_user_manager.html#a10fdde10c0c59e805c8a19758a8b2d0a">unsetChild</a> (string $parent_email, string $student_email)</td></tr>
<tr class="memdesc:a10fdde10c0c59e805c8a19758a8b2d0a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Убирает детей от родителя  <a href="#a10fdde10c0c59e805c8a19758a8b2d0a">Подробнее...</a><br /></td></tr>
<tr class="separator:a10fdde10c0c59e805c8a19758a8b2d0a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5f510ff55e86fc6638c1e125a89e521b"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_i_e_p_1_1_managers_1_1_user_manager.html#a5f510ff55e86fc6638c1e125a89e521b">setSubject</a> (string $teacher_email, int $subject_id)</td></tr>
<tr class="memdesc:a5f510ff55e86fc6638c1e125a89e521b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Назначает предмет преподавателю  <a href="#a5f510ff55e86fc6638c1e125a89e521b">Подробнее...</a><br /></td></tr>
<tr class="separator:a5f510ff55e86fc6638c1e125a89e521b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3bcb70886943bc1df3282424ce4293b5"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_i_e_p_1_1_managers_1_1_user_manager.html#a3bcb70886943bc1df3282424ce4293b5">unsetSubject</a> (string $teacher_email, int $subject_id)</td></tr>
<tr class="memdesc:a3bcb70886943bc1df3282424ce4293b5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Убирает предмет у преподавателя  <a href="#a3bcb70886943bc1df3282424ce4293b5">Подробнее...</a><br /></td></tr>
<tr class="separator:a3bcb70886943bc1df3282424ce4293b5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa79f8879985a288ba5b8297616f75050"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_i_e_p_1_1_managers_1_1_user_manager.html#aa79f8879985a288ba5b8297616f75050">changeUserPassword</a> (string $user_email, string $old_passwd, string $new_passwd)</td></tr>
<tr class="memdesc:aa79f8879985a288ba5b8297616f75050"><td class="mdescLeft">&#160;</td><td class="mdescRight">Изменяет пароль пользователя  <a href="#aa79f8879985a288ba5b8297616f75050">Подробнее...</a><br /></td></tr>
<tr class="separator:aa79f8879985a288ba5b8297616f75050"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ade449fa1c01f1d6d80edc0ed4929f1eb"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_i_e_p_1_1_managers_1_1_user_manager.html#ade449fa1c01f1d6d80edc0ed4929f1eb">remove</a> ($user_email)</td></tr>
<tr class="memdesc:ade449fa1c01f1d6d80edc0ed4929f1eb"><td class="mdescLeft">&#160;</td><td class="mdescRight">Удаляет пользователя  <a href="#ade449fa1c01f1d6d80edc0ed4929f1eb">Подробнее...</a><br /></td></tr>
<tr class="separator:ade449fa1c01f1d6d80edc0ed4929f1eb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae20e6ced1b831e472330b980b94f2b8e"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_i_e_p_1_1_managers_1_1_user_manager.html#ae20e6ced1b831e472330b980b94f2b8e">removeAdmin</a> (string $admin_email)</td></tr>
<tr class="memdesc:ae20e6ced1b831e472330b980b94f2b8e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Удаляет администратора  <a href="#ae20e6ced1b831e472330b980b94f2b8e">Подробнее...</a><br /></td></tr>
<tr class="separator:ae20e6ced1b831e472330b980b94f2b8e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_class_i_e_p_1_1_managers_1_1_i_e_p"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_class_i_e_p_1_1_managers_1_1_i_e_p')"><img src="closed.png" alt="-"/>&#160;Открытые члены унаследованные от <a class="el" href="class_i_e_p_1_1_managers_1_1_i_e_p.html">IEP</a></td></tr>
<tr class="memitem:aad6f240442b7c2c49d009084c59be075 inherit pub_methods_class_i_e_p_1_1_managers_1_1_i_e_p"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_i_e_p_1_1_managers_1_1_i_e_p.html#aad6f240442b7c2c49d009084c59be075">__construct</a> (\PDO $<a class="el" href="class_i_e_p_1_1_managers_1_1_i_e_p.html#ae51244ccee8b1932cc60c3869d426f66">dbc</a>)</td></tr>
<tr class="memdesc:aad6f240442b7c2c49d009084c59be075 inherit pub_methods_class_i_e_p_1_1_managers_1_1_i_e_p"><td class="mdescLeft">&#160;</td><td class="mdescRight">Задаёт контроллер базы данных  <a href="class_i_e_p_1_1_managers_1_1_i_e_p.html#aad6f240442b7c2c49d009084c59be075">Подробнее...</a><br /></td></tr>
<tr class="separator:aad6f240442b7c2c49d009084c59be075 inherit pub_methods_class_i_e_p_1_1_managers_1_1_i_e_p"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8911f29c813a66f13e805af3afea5c2b inherit pub_methods_class_i_e_p_1_1_managers_1_1_i_e_p"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_i_e_p_1_1_managers_1_1_i_e_p.html#a8911f29c813a66f13e805af3afea5c2b">setDBC</a> ($<a class="el" href="class_i_e_p_1_1_managers_1_1_i_e_p.html#ae51244ccee8b1932cc60c3869d426f66">dbc</a>)</td></tr>
<tr class="memdesc:a8911f29c813a66f13e805af3afea5c2b inherit pub_methods_class_i_e_p_1_1_managers_1_1_i_e_p"><td class="mdescLeft">&#160;</td><td class="mdescRight">Задаёт контроллер базы данных  <a href="class_i_e_p_1_1_managers_1_1_i_e_p.html#a8911f29c813a66f13e805af3afea5c2b">Подробнее...</a><br /></td></tr>
<tr class="separator:a8911f29c813a66f13e805af3afea5c2b inherit pub_methods_class_i_e_p_1_1_managers_1_1_i_e_p"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae51244ccee8b1932cc60c3869d426f66 inherit pub_methods_class_i_e_p_1_1_managers_1_1_i_e_p"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_i_e_p_1_1_managers_1_1_i_e_p.html#ae51244ccee8b1932cc60c3869d426f66">dbc</a> ()</td></tr>
<tr class="memdesc:ae51244ccee8b1932cc60c3869d426f66 inherit pub_methods_class_i_e_p_1_1_managers_1_1_i_e_p"><td class="mdescLeft">&#160;</td><td class="mdescRight">Возвращает контроллер базы данных  <a href="class_i_e_p_1_1_managers_1_1_i_e_p.html#ae51244ccee8b1932cc60c3869d426f66">Подробнее...</a><br /></td></tr>
<tr class="separator:ae51244ccee8b1932cc60c3869d426f66 inherit pub_methods_class_i_e_p_1_1_managers_1_1_i_e_p"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9307862af9ee08f7f911c98ef756642d inherit pub_methods_class_i_e_p_1_1_managers_1_1_i_e_p"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_i_e_p_1_1_managers_1_1_i_e_p.html#a9307862af9ee08f7f911c98ef756642d">query</a> (string $sql, array $params=array())</td></tr>
<tr class="memdesc:a9307862af9ee08f7f911c98ef756642d inherit pub_methods_class_i_e_p_1_1_managers_1_1_i_e_p"><td class="mdescLeft">&#160;</td><td class="mdescRight">Выполняет запрос  <a href="class_i_e_p_1_1_managers_1_1_i_e_p.html#a9307862af9ee08f7f911c98ef756642d">Подробнее...</a><br /></td></tr>
<tr class="separator:a9307862af9ee08f7f911c98ef756642d inherit pub_methods_class_i_e_p_1_1_managers_1_1_i_e_p"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5a1b761c901432b2bfd7fc4e5e75a6bd inherit pub_methods_class_i_e_p_1_1_managers_1_1_i_e_p"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_i_e_p_1_1_managers_1_1_i_e_p.html#a5a1b761c901432b2bfd7fc4e5e75a6bd">getLogs</a> ()</td></tr>
<tr class="memdesc:a5a1b761c901432b2bfd7fc4e5e75a6bd inherit pub_methods_class_i_e_p_1_1_managers_1_1_i_e_p"><td class="mdescLeft">&#160;</td><td class="mdescRight">Возвращает все записи логов  <a href="class_i_e_p_1_1_managers_1_1_i_e_p.html#a5a1b761c901432b2bfd7fc4e5e75a6bd">Подробнее...</a><br /></td></tr>
<tr class="separator:a5a1b761c901432b2bfd7fc4e5e75a6bd inherit pub_methods_class_i_e_p_1_1_managers_1_1_i_e_p"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a09f62e401b1e20f2796363d272aea18d inherit pub_methods_class_i_e_p_1_1_managers_1_1_i_e_p"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_i_e_p_1_1_managers_1_1_i_e_p.html#a09f62e401b1e20f2796363d272aea18d">removeLogs</a> (int $log_id)</td></tr>
<tr class="memdesc:a09f62e401b1e20f2796363d272aea18d inherit pub_methods_class_i_e_p_1_1_managers_1_1_i_e_p"><td class="mdescLeft">&#160;</td><td class="mdescRight">Удаляет запись лога  <a href="class_i_e_p_1_1_managers_1_1_i_e_p.html#a09f62e401b1e20f2796363d272aea18d">Подробнее...</a><br /></td></tr>
<tr class="separator:a09f62e401b1e20f2796363d272aea18d inherit pub_methods_class_i_e_p_1_1_managers_1_1_i_e_p"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5718dddc9c96c76cbcea478ce593dedb inherit pub_methods_class_i_e_p_1_1_managers_1_1_i_e_p"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_i_e_p_1_1_managers_1_1_i_e_p.html#a5718dddc9c96c76cbcea478ce593dedb">add</a> ($data)</td></tr>
<tr class="memdesc:a5718dddc9c96c76cbcea478ce593dedb inherit pub_methods_class_i_e_p_1_1_managers_1_1_i_e_p"><td class="mdescLeft">&#160;</td><td class="mdescRight">Добавление каких-либо данных в базу данных  <a href="class_i_e_p_1_1_managers_1_1_i_e_p.html#a5718dddc9c96c76cbcea478ce593dedb">Подробнее...</a><br /></td></tr>
<tr class="separator:a5718dddc9c96c76cbcea478ce593dedb inherit pub_methods_class_i_e_p_1_1_managers_1_1_i_e_p"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aca74d656488fa3f2b28401b80b1f79c9 inherit pub_methods_class_i_e_p_1_1_managers_1_1_i_e_p"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_i_e_p_1_1_managers_1_1_i_e_p.html#aca74d656488fa3f2b28401b80b1f79c9">remove</a> ($what)</td></tr>
<tr class="memdesc:aca74d656488fa3f2b28401b80b1f79c9 inherit pub_methods_class_i_e_p_1_1_managers_1_1_i_e_p"><td class="mdescLeft">&#160;</td><td class="mdescRight">Удаление каких-либо данными из базы данных  <a href="class_i_e_p_1_1_managers_1_1_i_e_p.html#aca74d656488fa3f2b28401b80b1f79c9">Подробнее...</a><br /></td></tr>
<tr class="separator:aca74d656488fa3f2b28401b80b1f79c9 inherit pub_methods_class_i_e_p_1_1_managers_1_1_i_e_p"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Подробное описание</h2>
<div class="textblock"><p>Менеджер для работы с пользователями </p>
<dl class="section author"><dt>Автор</dt><dd>pmswga </dd></dl>
<dl class="section version"><dt>Версия</dt><dd>1.0 </dd></dl>
</div><h2 class="groupheader">Методы</h2>
<a id="a58c304ed2a3ae739b1d31a9eeace43e4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a58c304ed2a3ae739b1d31a9eeace43e4">&#9670;&nbsp;</a></span>add()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">add </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$user</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Добавляет нового пользователя </p>
<dl class="params"><dt>Аргументы</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">$user</td><td>- Новый пользователь </td></tr>
  </table>
  </dd>
</dl>
<dl class="section note"><dt>Заметки</dt><dd>Объект класса User </dd></dl>

</div>
</div>
<a id="a8e961da391b6849109aec42bc9b1b6e6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8e961da391b6849109aec42bc9b1b6e6">&#9670;&nbsp;</a></span>adminExists()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">adminExists </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_i_e_p_1_1_structures_1_1_user.html">User</a>&#160;</td>
          <td class="paramname"><em>$user</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Проверяет, существует ли такой администратор в базей данных </p>
<dl class="params"><dt>Аргументы</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">$user</td><td>- администратор </td></tr>
  </table>
  </dd>
</dl>
<dl class="section note"><dt>Заметки</dt><dd>Объект класса User </dd></dl>
<dl class="section return"><dt>Возвращает</dt><dd>TRUE - успешно, FALSE - ошибка </dd></dl>

</div>
</div>
<a id="a8fb7e7fde1ddc7817df738a26fc1e75e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8fb7e7fde1ddc7817df738a26fc1e75e">&#9670;&nbsp;</a></span>authentification()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">authentification </td>
          <td>(</td>
          <td class="paramtype">string&#160;</td>
          <td class="paramname"><em>$email</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">string&#160;</td>
          <td class="paramname"><em>$passwd</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Производит аутентификацию пользователя </p>
<dl class="params"><dt>Аргументы</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">$email</td><td>- Электронная почта пользователя </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">$passwd</td><td>- Пароль </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Возвращает</dt><dd>FALSE - пользователь не существует, объект класса User - пользователь существует </dd></dl>

</div>
</div>
<a id="abd99551240a9f2a7c2fdba7c451f03b7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abd99551240a9f2a7c2fdba7c451f03b7">&#9670;&nbsp;</a></span>authentificationAdmin()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">authentificationAdmin </td>
          <td>(</td>
          <td class="paramtype">string&#160;</td>
          <td class="paramname"><em>$email</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">string&#160;</td>
          <td class="paramname"><em>$passwd</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Производит аутентификацию администратора </p>
<dl class="params"><dt>Аргументы</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">$email</td><td>- Электронная почта администратора </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">$passwd</td><td>- Пароль </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Возвращает</dt><dd>FALSE - пользователь не существует, объект класса User - пользователь существует </dd></dl>

</div>
</div>
<a id="aa79f8879985a288ba5b8297616f75050"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa79f8879985a288ba5b8297616f75050">&#9670;&nbsp;</a></span>changeUserPassword()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">changeUserPassword </td>
          <td>(</td>
          <td class="paramtype">string&#160;</td>
          <td class="paramname"><em>$user_email</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">string&#160;</td>
          <td class="paramname"><em>$old_passwd</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">string&#160;</td>
          <td class="paramname"><em>$new_passwd</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Изменяет пароль пользователя </p>
<dl class="params"><dt>Аргументы</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">$user_email</td><td>- Электронная почта пользователя </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">$old_passwd</td><td>- Старый пароль </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">$new_passwd</td><td>- Новый пароль </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Возвращает</dt><dd>TRUE - успешно, FALSE - ошибка </dd></dl>

</div>
</div>
<a id="aab9db607fd1b1029e30698b5fd2eba74"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aab9db607fd1b1029e30698b5fd2eba74">&#9670;&nbsp;</a></span>getAllAdmins()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">getAllAdmins </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Возвращает всех администраторов </p>
<dl class="section return"><dt>Возвращает</dt><dd>Администраторы </dd></dl>
<dl class="section note"><dt>Заметки</dt><dd>Массив с объектами класса User </dd></dl>

</div>
</div>
<a id="a68ca7ef8a3dd6e133f7ce48f889086b2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a68ca7ef8a3dd6e133f7ce48f889086b2">&#9670;&nbsp;</a></span>getAllElders()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">getAllElders </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Возвращает всех старост </p>
<dl class="section return"><dt>Возвращает</dt><dd>Старосты </dd></dl>
<dl class="section note"><dt>Заметки</dt><dd>Массив с объектами класса Student </dd></dl>

</div>
</div>
<a id="aba7e535e07631c20911bcad2e3ef3444"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aba7e535e07631c20911bcad2e3ef3444">&#9670;&nbsp;</a></span>getAllParents()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">getAllParents </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Возвращает всех родителей </p>
<dl class="section return"><dt>Возвращает</dt><dd>Родители </dd></dl>
<dl class="section note"><dt>Заметки</dt><dd>Массив с объектами класса Parent_ </dd></dl>

</div>
</div>
<a id="aebb23af7c9b40659d7bffc83a9558cf6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aebb23af7c9b40659d7bffc83a9558cf6">&#9670;&nbsp;</a></span>getAllStudents()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">getAllStudents </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Возвращает всех студентов </p>
<dl class="section return"><dt>Возвращает</dt><dd>Студенты </dd></dl>
<dl class="section note"><dt>Заметки</dt><dd>Массив с объектами класса Student </dd></dl>

</div>
</div>
<a id="ab381a16bb0a15bf7168b287292ab1449"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab381a16bb0a15bf7168b287292ab1449">&#9670;&nbsp;</a></span>getAllStudentsElders()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">getAllStudentsElders </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Возвращает всех студентов и старост </p>
<dl class="section return"><dt>Возвращает</dt><dd>Студенты и старосты </dd></dl>
<dl class="section note"><dt>Заметки</dt><dd>Массив с объектами класса Student </dd></dl>

</div>
</div>
<a id="aa2163658d54f05691c40d89f57976034"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa2163658d54f05691c40d89f57976034">&#9670;&nbsp;</a></span>getAllTeachers()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">getAllTeachers </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Возвращает всех преподавателей </p>
<dl class="section return"><dt>Возвращает</dt><dd>Преподаватели </dd></dl>
<dl class="section note"><dt>Заметки</dt><dd>Массив с объектами класса Teacher </dd></dl>

</div>
</div>
<a id="a48a9c3492291c38e6113e40e04deb2ed"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a48a9c3492291c38e6113e40e04deb2ed">&#9670;&nbsp;</a></span>getAllUsers()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">getAllUsers </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Возвращает всех пользователей </p>
<dl class="section return"><dt>Возвращает</dt><dd>Пользователи </dd></dl>
<dl class="section note"><dt>Заметки</dt><dd>Массив с объектами класса User </dd></dl>

</div>
</div>
<a id="ac442cc885a0fb4b8a9b1020db40f208d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac442cc885a0fb4b8a9b1020db40f208d">&#9670;&nbsp;</a></span>getSoGroups()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">getSoGroups </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>$group_id</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<dl class="section return"><dt>Возвращает</dt><dd></dd></dl>

</div>
</div>
<a id="ab8b4708a11f6729bb99aafab4e62e1b0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab8b4708a11f6729bb99aafab4e62e1b0">&#9670;&nbsp;</a></span>grantElder()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">grantElder </td>
          <td>(</td>
          <td class="paramtype">string&#160;</td>
          <td class="paramname"><em>$student_email</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Назначает старосту </p>
<dl class="params"><dt>Аргументы</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">$student_email</td><td>- Электронная почта студента </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Возвращает</dt><dd>TRUE - успешно, FALSE - ошибка </dd></dl>

</div>
</div>
<a id="ade449fa1c01f1d6d80edc0ed4929f1eb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ade449fa1c01f1d6d80edc0ed4929f1eb">&#9670;&nbsp;</a></span>remove()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">remove </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$user_email</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Удаляет пользователя </p>
<dl class="params"><dt>Аргументы</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">$user_email</td><td>- почта пользователя </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Возвращает</dt><dd>TRUE - успешно, FALSE - ошибка </dd></dl>

</div>
</div>
<a id="ae20e6ced1b831e472330b980b94f2b8e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae20e6ced1b831e472330b980b94f2b8e">&#9670;&nbsp;</a></span>removeAdmin()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">removeAdmin </td>
          <td>(</td>
          <td class="paramtype">string&#160;</td>
          <td class="paramname"><em>$admin_email</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Удаляет администратора </p>
<dl class="params"><dt>Аргументы</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">$admin_email</td><td>- почта пользователя </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Возвращает</dt><dd>TRUE - успешно, FALSE - ошибка </dd></dl>

</div>
</div>
<a id="ad530998379869c71b083396cdc7a2566"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad530998379869c71b083396cdc7a2566">&#9670;&nbsp;</a></span>revokeElder()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">revokeElder </td>
          <td>(</td>
          <td class="paramtype">string&#160;</td>
          <td class="paramname"><em>$student_email</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Разжаловает старосту </p>
<dl class="params"><dt>Аргументы</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">$student_email</td><td>- Электронная почта студента </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Возвращает</dt><dd>TRUE - успешно, FALSE - ошибка </dd></dl>

</div>
</div>
<a id="a3980a2fdf7db8c73796a046b0b0ccf32"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3980a2fdf7db8c73796a046b0b0ccf32">&#9670;&nbsp;</a></span>setChild()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">setChild </td>
          <td>(</td>
          <td class="paramtype">string&#160;</td>
          <td class="paramname"><em>$parent_email</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">string&#160;</td>
          <td class="paramname"><em>$student_email</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>$relation</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Назначает детей родителю </p>
<dl class="params"><dt>Аргументы</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">$parent_email</td><td>- Электронная почта родителя </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">$student_email</td><td>- Электронная почта студента </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">$relation</td><td>- Тип отношения </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Возвращает</dt><dd>TRUE - успешно, FALSE - ошибка </dd></dl>

</div>
</div>
<a id="a5f510ff55e86fc6638c1e125a89e521b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5f510ff55e86fc6638c1e125a89e521b">&#9670;&nbsp;</a></span>setSubject()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">setSubject </td>
          <td>(</td>
          <td class="paramtype">string&#160;</td>
          <td class="paramname"><em>$teacher_email</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>$subject_id</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Назначает предмет преподавателю </p>
<dl class="params"><dt>Аргументы</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">$teacher_email</td><td>- Электронная почта родителя </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">$subject_id</td><td>- Идентификатор предмета </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Возвращает</dt><dd>TRUE - успешно, FALSE - ошибка </dd></dl>

</div>
</div>
<a id="a10fdde10c0c59e805c8a19758a8b2d0a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a10fdde10c0c59e805c8a19758a8b2d0a">&#9670;&nbsp;</a></span>unsetChild()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">unsetChild </td>
          <td>(</td>
          <td class="paramtype">string&#160;</td>
          <td class="paramname"><em>$parent_email</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">string&#160;</td>
          <td class="paramname"><em>$student_email</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Убирает детей от родителя </p>
<dl class="params"><dt>Аргументы</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">$parent_email</td><td>- Электронная почта родителя </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">$student_email</td><td>- Электронная почта студента </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Возвращает</dt><dd>TRUE - успешно, FALSE - ошибка </dd></dl>

</div>
</div>
<a id="a3bcb70886943bc1df3282424ce4293b5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3bcb70886943bc1df3282424ce4293b5">&#9670;&nbsp;</a></span>unsetSubject()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">unsetSubject </td>
          <td>(</td>
          <td class="paramtype">string&#160;</td>
          <td class="paramname"><em>$teacher_email</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>$subject_id</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Убирает предмет у преподавателя </p>
<dl class="params"><dt>Аргументы</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">$teacher_email</td><td>- Электронная почта родителя </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">$subject_id</td><td>- Идентификатор предмета </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Возвращает</dt><dd>TRUE - успешно, FALSE - ошибка </dd></dl>

</div>
</div>
<a id="ac326a61c5a0a288461ea72a692114d30"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac326a61c5a0a288461ea72a692114d30">&#9670;&nbsp;</a></span>userExists()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">userExists </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_i_e_p_1_1_structures_1_1_user.html">User</a>&#160;</td>
          <td class="paramname"><em>$user</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Проверяет, существует ли такой пользователь в базей данных </p>
<dl class="params"><dt>Аргументы</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">$user</td><td>- пользователь </td></tr>
  </table>
  </dd>
</dl>
<dl class="section note"><dt>Заметки</dt><dd>Объект класса User </dd></dl>
<dl class="section return"><dt>Возвращает</dt><dd>TRUE - успешно, FALSE - ошибка </dd></dl>

</div>
</div>
<hr/>Объявления и описания членов класса находятся в файле:<ul>
<li>iep/managers/<a class="el" href="um_8class_8php.html">um.class.php</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Документация по EDUKIT Developers. Последние изменения: Вт 17 Окт 2017 18:09:13. Создано системой &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.13
</small></address>
</body>
</html>
